import { RouteRecordRaw } from "vue-router";
import { renderIcon } from '../index'
import icon from '@/assets/icons/upload.png'
const routes: Array<RouteRecordRaw> = [
  {
    path: "/home",
    name: "layout_home",
    component: () => import("@/layout/index.vue"),
    meta: {
      title: "首页",
      sort: 0,
      isRoot: true,
    },
    children: [
      {
        path: "index",
        name: "home",
        component: () => import("@/views/home/index.vue"),
        meta: {
          title: "首页",
          isKeepAlive:true
        },
      },
    ]
  },
];

export default routes;
